/**************************************************************
*	This file provides functions structures and enum of the 
	input from joysticks
**************************************************************/

#include "main.h"
#include "adc.h"

#define FILTER_LENGTH 5

__IO uint32_t TPRYInput[FILTER_LENGTH][4];

void joystickInit(void){
	HAL_ADC_Start_DMA(&hadc1,(uint32_t *)TPRYInput,FILTER_LENGTH * 4);
}

